﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
using ASPNETVN.PORTAL.Components.UI;
using ASPNETVN.PORTAL.Components.Security;

namespace ASPNETVN.PORTAL.Modules.SIGNIN.Controls
{
    public partial class SignOut : ModulePage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            lblEmail.Text = PortalSecurity.CurrentUser.Identity.Email;
        }

        protected void LinkButtonSignOut_Click(object sender, EventArgs e)
        {
            Response.Redirect("~/Admin/LogOff.aspx");
        }
    }
}